package com.financing.service.app;
import com.financing.model.app.AppPromotion;
import com.financing.model.user.User;
import com.financing.service.BaseService;

public class AppPromotionService extends BaseService<User>{

	/**
	 * 根据IDFA查找记录
	 */
	public AppPromotion findByIdfa(String app, String idfa) {
		return AppPromotion.me.findFirst("select * from app_promotion where app=? and idfa=?", app, idfa);
	}
	
}
